<template>
  <div>
    <form class="form-horizontal">
      <div class="row">
        <div class="col-sm-12 form-group form-input-group"  >
          <label for="f_taxpayer_id" class="control-label">纳税人识别号</label>
          <input type="text"  v-model="baseinfo.base.f_taxpayer_id" class="form-control" placeholder="纳税人识别号" v-next-el="addressphone">
        </div>
      </div>
      <div class="row">
        <div class="col-sm-12 form-group form-input-group" >
          <label for="f_address_phone" class="control-label">地址-电话</label>
          <input type="text"  v-model="baseinfo.base.f_address_phone" class="form-control" placeholder="地址-电话" v-el:addressphone v-next-el="papername">
        </div>
      </div>

      <div class="row">
        <div class="col-sm-6 form-group form-input-group">
          <label for="f_paper_name" class="control-label">名称</label>
          <input type="text"  v-model="baseinfo.base.f_paper_name" class="form-control" placeholder="名称" v-el:papername v-next-el="paperaccount">
        </div>
          <div class="col-sm-6 form-group form-input-group" id=userFil-userPapInfo-票据类型 >
            <label for="f_paper_type" class="control-label">票据类型</label>
            <v-select :value.sync="baseinfo.base.f_paper_type"
                :options='papertype' placeholder='票据类型'
                close-on-select></v-select>
          </div>

        </div>
      <div class="row">
        <div class="col-sm-12 form-group form-input-group">
          <label for="f_paper_account" class="control-label ">开户行及账号</label>
          <input type="text"  v-model="baseinfo.base.f_paper_account" class="form-control" placeholder="银行名称" v-el:paperaccount>
        </div>

      </div>
      <div class="row">
        <div class="col-sm-12 form-group form-input-group">
          <label for="f_paper_account" class="control-label ">备注</label>
          <textarea class="form-control" v-model="baseinfo.base.f_comments"></textarea>
          <!-- <input type="text"  v-model="baseinfo.base.f_paper_account" class="form-control" placeholder="银行名称" v-el:paperaccount> -->
        </div>

      </div>

    </form>
  </div>
</template>
<script>
import AppData from '../../stores/AppData'

export default {
  title: '基本信息',
  props: ['baseinfo'],
  computed: {
    papertype () {
      return AppData.getParam('票据类型')
    }
  }
}
</script>
